package org.dromara.oce.domain.qo;

import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.oce.domain.OceMicroApp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.io.Serializable;
/**
 * 字节小程序业务对象 oce_micro_app
 *
 * @author dsbb
 * @date 2025-06-04
 */
@Data
@EqualsAndHashCode()
public class OceMicroAppQo implements Serializable {
    /**
     * 管家账号id
     */
    @NotNull(message = "管家账号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long accountId;

    /**
     * 第三方广告主id
     */
    @NotNull(message = "第三方广告主id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long advertiserId;

    /**
     * 字节小程序app id
     */
    @NotBlank(message = "字节小程序app id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String appId;

    /**
     * 小程序名称
     */
    private String appName;

    /**
     * 小程序资产id
     */
    private Long instanceId;

    /**
     * 审核状态：AUDITING-审核中；AUDIT_ACCEPTED-审核通过；AUDIT_REJECTED-审核拒绝；
     */
    private String auditStatus;

}
